package com.zhaowb.sellorderserver.service.enums;

/**
 * Created with IDEA
 * 订单状态
 * @author zhaowb
 * @date 2018/11/29 17:50
 */
public enum  OrderStatusEnum {


        NEW(0, "新订单"),
        FINISHED(1, "完结"),
        CANCEL(2, "取消"),
        ;
        private Integer code;

        private String message;

    OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
